package com.sino.cloud.consumer.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import com.sino.cloud.consumer.service.DemoService;

/**
 * @author kerbores
 *
 */
@RestController
public class DemoController {

	@Autowired
	DemoService demoService;

	@GetMapping("/consumer")
	public String dc() {
		return demoService.demo();
	}
}
